package model;

public class Point {

	private float x;
	private float y;
	private float z;
	
	public Point ( float x, float y, float z) {
		this.x=x;
		this.y=y;
		this.z=z;
	}

	public float getX() {
		return x;
	}

	public float getY() {
		return y;
	}

	public float getZ() {
		return z;
	}
	
	@Override
	public String toString(){
		return "p " + x + " " + y + " " + z;
		
	}
	
	public boolean equals( Point other ){
		return this.x==other.getX() && this.y==other.getY() && this.z==other.getZ();
	}

}
